-- GENERATED SPELL FOR [Snarler] --


function spell0_5356(pUnit, Event) --@Fade Out,Self--
pUnit:FullCastSpellOnTarget(5543,pUnit)
pUnit:RegisterEvent('Sorts_5356', 2283, 1)
end

function Sorts_5356(pUnit, Event)
local choix_sorts_5356 = math.random(0, 0)
if choix_sorts_5356 == 0 then
pUnit:RegisterEvent('spell0_5356', 1, 1)
end
end

function mob5356_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5356', math.random(1500, 3000), 1)
end

function mob5356_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5356_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5356_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5356, 1, 'mob5356_Action')
RegisterUnitEvent(5356, 2, 'mob5356_Leave')
RegisterUnitEvent(5356, 3, 'mob5356_Kill')
RegisterUnitEvent(5356, 4, 'mob5356_Die')
